<template>
  <div>
    <a-dropdown>
      <a-button>{{ t["导出"] }}</a-button>
      <template #content>
        <a-doption v-for="item in reissueTimeList" @click="change(item)">
          {{ t[item.label] }}
        </a-doption>
      </template>
    </a-dropdown>
  </div>
</template>

<script setup lang="ts">
import { ITimeList, reissueTimeList } from "@/data/options/selection";
const emit = defineEmits(["change"]);
const t = translate("公共模块");
const change = (value: ITimeList) => {
  emit("change", value);
};
</script>

<style lang="scss" scoped></style>
